<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script language="JavaScript">
	function Homego(){
		location.href="../event/";
	}
</script>
<%@include file="/WEB-INF/Top.jsp" %>
</head>
<body>
<br><Br>
<table width="570" border="0" align="center">
	<tr>
		<td align="center">
		<hr size="1" width="800" color="#FF8D41">
		<c:if test="${list.size() ==0 }">
		<p align="center"><font color=#CCCCCC>진행중인 이벤트가 없습니다.</font></p>
		</c:if>
		<c:if test="${list.size() !=0 }">
		<img src="<%=eventimg%>${img2}">
		</c:if>
		<hr size="1" width="800" color="#FF8D41">
		</td>
	</tr>
</table>
<center>
<br><br><input type="button" value="목록으로" onClick="Homego()">
</center>
</body>
</html>